home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_098 / hddriver / driver / autoinit.c next >
C/C++ Source or Header  |  1992-05-06  |  372b  |  27 lines

  1. #include "hd.h"
  2.  
  3.  
  4.  
  5. extern LONG aOpen(), aClose(), aExpunge(), aNull(), aBeginIO(), aAbortIO();
  6.  
  7.  
  8. LONG (*func_table[])() = {
  9.     aOpen, aClose, aExpunge, aNull, aBeginIO, aAbortIO, (LONG (*)())-1L
  10. };
  11.  
  12.  
  13. struct {
  14.     LONG    dev_size;
  15.     LONG    (**func_table)();
  16.     WORD    *data_table;
  17.     LONG    (*init_routine)();
  18.  
  19. } AutoInit = {
  20.  
  21.     sizeof ( struct hd_dev ) ,
  22.     func_table ,
  23.     NULL ,
  24.     aLibInit
  25. };
  26.  
  27.